
<%@page import="Entities.*"%>
<%@page import="Helpers.*"%>
<%@page import="Hibernate.*"%>
<%@page import="java.util.List"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Enquetes</title>
    </head>
    <body>
        <table border="1">
            <%
              RollenHelper rolHelper = new RollenHelper();
              List<Rollen> rollen = rolHelper.getrollen();
              for (Rollen rol : rollen) {
            %>
            <tr>
                <td>
                    <%= rol.getId()  %>
                </td>
                <td>
                    <%=rol.getNaam() %>
                </td>
                <td>
                    <a href="showRol.jsp?id=<%= rol.getId()%>">Wijzig</a>
                </td>
                <td>
                    <a href="deleteRol.jsp?id=<%= rol.getId()%>">Delete</a>
                </td>
            </tr>
            <br>
            <br>
         <% } %>
         </table>
         <a href="addRol.jsp"> Toevoegen </a>
    </body>
</html>
